#ifndef BUFFER_H
#define BUFFER_H
#include "common.h"

class Buffer
{
private:
	WINDOW *window;
	int line;
	char *buffer;
	int size;
public:
	Buffer(WINDOW *window, int line, int *linelimit);
	~Buffer();
	
	// Get the content of the buffer
	const char *getContent();
	
	// Get the size of the buffer
	int getSize() const;
};

#endif//BUFFER_H
